package Person.XianCheng;

public class MyThread03 extends Thread {
    public MyThread03(){

    }
    public MyThread03(String name){
        super(name);//调用父类构造方法
    }
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(getName()+":"+i);
        }
    }
}
